package com.qidian.k12.vo;

import java.util.Date;

public class AdminQueryVo {
    private int page = 1;
    private int row = 10;
    private String adminName;

    private Date timeStart;

    private Date timeEnd;
    private int adminStatus;
    private int start=0;

    private void cstart(){
        start = (page-1) * row;
    }

    @Override
    public String toString() {
        return "AdminQueryVo{" +
                "page=" + page +
                ", row=" + row +
                ", adminName='" + adminName + '\'' +
                ", timeStart=" + timeStart +
                ", timeEnd=" + timeEnd +
                ", adminStatus=" + adminStatus +
                ", start=" + start +
                '}';
    }

    public int getPage() {
        return page;
    }

    public void setPage(int page) {
        this.page = page;
        cstart();
    }

    public int getRow() {
        return row;
    }

    public void setRow(int row) {
        this.row = row;
        cstart();
    }

    public String getAdminName() {
        return adminName;
    }

    public void setAdminName(String adminName) {
        this.adminName = adminName;
    }

    public Date getTimeStart() {
        return timeStart;
    }

    public void setTimeStart(Date timeStart) {
        this.timeStart = timeStart;
    }

    public Date getTimeEnd() {
        return timeEnd;
    }

    public void setTimeEnd(Date timeEnd) {
        this.timeEnd = timeEnd;
    }

    public int getAdminStatus() {
        return adminStatus;
    }

    public void setAdminStatus(int adminStatus) {
        this.adminStatus = adminStatus;
    }

    public int getStart() {
        return start;
    }

    public void setStart(int start) {
        this.start = start;
    }
}
